﻿6@model FilmBookingTicket.Models.ShowTime

@{
    
    ViewBag.Title = "Edit";
    Layout = "~/Views/Shared/_AdminLayout.cshtml";
}
}

<h2>Edit</h2>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <table class="table striped bordered hovered" style="margin :0px 0px 0px 40px">
        <tr>
            <td>@Html.HiddenFor(model => model.ShowTimeId)

        <div class="editor-label">
            @Html.LabelFor(model => model.Time)
        </div></td>
            <td>     
                   <div class="editor-label">
            @Html.LabelFor(model => model.Date)
        </div>

            </td>
            <td>
                     <div class="editor-label">
            @Html.LabelFor(model => model.IsActive)
        </div>
            </td>
            <td>  <div class="editor-label">
            @Html.LabelFor(model => model.TheaterId, "Theater")
        </div></td>
        </tr>
        <tr><td>    <div class="input-control text">
            @Html.EditorFor(model => model.Time)
            @Html.ValidationMessageFor(model => model.Time)
        </div></td>
            <td>

        <div class="input-control text">
            @Html.EditorFor(model => model.Date)
            @Html.ValidationMessageFor(model => model.Date)
        </div>
</td>
            <td>
   
        <div class="input-control text">
            @Html.EditorFor(model => model.IsActive)
            @Html.ValidationMessageFor(model => model.IsActive)
        </div></td>
            <td>
      
        <div class="input-control text">
            @Html.DropDownList("TheaterId", String.Empty)
            @Html.ValidationMessageFor(model => model.TheaterId)
        </div></td>
        </tr>
        <tr><td><input type="submit" value="Save" /></td></tr>
        <tr><td>
<div>
    @Html.ActionLink("Back to List", "Index")
</div></td></tr>
    </table>
}



